<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2019-12-11
 * Time: 16:19
 */

namespace app\api\validate;


class Paging extends BaseValidate
{
    protected $rule = [
        'page' => 'require|isPositiveInteger',
        'limit' => 'require|isPositiveInteger'
    ];

    protected $message = [
        'page' => '请输入正确的页数',
        'limit' => '请输入正确的数量'
    ];
}